package com.beiing.tianshuai.tianshuai.dongtai.view;

import com.beiing.tianshuai.tianshuai.entity.DynamicCommentBean;
import com.beiing.tianshuai.tianshuai.entity.DynamicDeleteBean;
import com.beiing.tianshuai.tianshuai.entity.DynamicDetailBean;
import com.beiing.tianshuai.tianshuai.entity.DynamicPraiseBean;
import com.beiing.tianshuai.tianshuai.entity.FollowBean;

import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * Created by magikliu on 2017/8/2.
 */

public interface DynamicDetailViewImpl{

    void showDynamicDetail(DynamicDetailBean dynamicDetailBean) throws UnsupportedEncodingException;    //显示动态详情数据

    void loadMoreComment(List<DynamicDetailBean.DataBean.CommentBean> commentBeanList);

    void refreshComment(DynamicCommentBean bean);

    void setPresenter();

    void showToast(String msg);

    void deleteComment(DynamicDeleteBean deleteBean, int position);

    void showFollowed(FollowBean followBean);

    void deleteReply(int position, int childPosition);

    void showError(String error);

    void showProgress();

    void hideProgress();

    void showCommentPraiseResult(DynamicPraiseBean praiseBean, int comment_position);

    void showDynamicPraiseResult(DynamicPraiseBean praiseBean);

    void showDynamicNotExist();
}
